<?php 
namespace Common\Model;
use Think\Model;
class NewsModel extends Model{
	protected $tableName='news';
	// protected $_validate=array(
	// 		array('title','/^\S+$/','标题不能为空',0,'regex'));
	protected $_validate=array(
			array('title','/^\S+$/','标题不能为空',0,'regex'),
	);

}